package org.travel_system.service;

import org.travel_system.pojo.Spot;

import java.util.List;

public interface SpotService
{
    List<Spot> getSpots();

    Spot getSpotByName(String name);

    int addSpot(Spot spot);

    int deleteSpotByName(String name);

    int updateSpot(Spot spot);
}
